package game.screen.option;

import game.Constants;
import game.manager.ScreenManager;

public class BackOption extends ScreenOption {

	public BackOption() {
		super(Constants.BACK_TEXT);
	}
	
	@Override
	public void select() {
		ScreenManager.getManager().goBack();
	}

	@Override
	public boolean isEnabled() {
		return ScreenManager.getManager().canGoBack();
	}
}
